pooling adjacent violator algorithm estimate of p-value density at 1
pavaf1(p,max.bins=20,bin.method=c("max","Sturges","Scott","FD"),
discrete=FALSE,plotit=FALSE,...)
p-value vector
max number of bins
binning method
logical: whether p-values are discrete.
logical: whether results are plotted.
Other arguments to hist
Numeric scalar
This function bin the p-values and then run PAVA to estimate the minimum of its density.